package com.benz.order.util.multithread;

public class DeadLockThreadTest {
    public static void main(String[] args) throws InterruptedException {
        DeadLockThread d1 = new DeadLockThread(true);
        DeadLockThread d2 = new DeadLockThread(false);
        new Thread(d1,"Chinese").start();
        new Thread(d2,"American").start();
    }
}
